Builder

class Builder : GeneratedMessage.Builder<BuilderT> , MeshProtos.ToRadioOrBuilder

Packets/commands to the radio will be written (reliably) to the toRadio characteristic.
Once the write completes the phone can assume it is handled.
Protobuf type meshtastic.ToRadio

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Tell API server we are disconnecting now.
This is useful for serial links where there is no hardware/protocol based notification that the client has dropped the link.
(Sending this message is optional for clients)
bool disconnect = 4;
Link copied to clipboard

Heartbeat message (used to keep the device connection awake on serial)
.meshtastic.Heartbeat heartbeat = 7;
Link copied to clipboard

MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
.meshtastic.MqttClientProxyMessage mqttClientProxyMessage = 6;
Link copied to clipboard

Send this packet on the mesh
.meshtastic.MeshPacket packet = 1;
Link copied to clipboard

Phone wants radio to send full node db to the phone, This is
typically the first packet sent to the radio when the phone gets a
bluetooth connection. The radio will respond by sending back a
MyNodeInfo, a owner, a radio config and a series of
FromRadio.node_infos, and config_complete
the integer you write into this field will be reported back in the
config_complete_id response this allows clients to never be confused by
a stale old partially sent config.
uint32 want_config_id = 3;
Link copied to clipboard
.meshtastic.XModem xmodemPacket = 5;
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard

Tell API server we are disconnecting now.
This is useful for serial links where there is no hardware/protocol based notification that the client has dropped the link.
(Sending this message is optional for clients)
bool disconnect = 4;
Link copied to clipboard

Heartbeat message (used to keep the device connection awake on serial)
.meshtastic.Heartbeat heartbeat = 7;
Link copied to clipboard

Heartbeat message (used to keep the device connection awake on serial)
.meshtastic.Heartbeat heartbeat = 7;
Link copied to clipboard

Heartbeat message (used to keep the device connection awake on serial)
.meshtastic.Heartbeat heartbeat = 7;
Link copied to clipboard

MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
.meshtastic.MqttClientProxyMessage mqttClientProxyMessage = 6;
Link copied to clipboard

MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
.meshtastic.MqttClientProxyMessage mqttClientProxyMessage = 6;
Link copied to clipboard

MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
.meshtastic.MqttClientProxyMessage mqttClientProxyMessage = 6;
Link copied to clipboard

Send this packet on the mesh
.meshtastic.MeshPacket packet = 1;
Link copied to clipboard

Send this packet on the mesh
.meshtastic.MeshPacket packet = 1;
Link copied to clipboard

Send this packet on the mesh
.meshtastic.MeshPacket packet = 1;
Link copied to clipboard
open fun getWantConfigId(): Int

Phone wants radio to send full node db to the phone, This is
typically the first packet sent to the radio when the phone gets a
bluetooth connection. The radio will respond by sending back a
MyNodeInfo, a owner, a radio config and a series of
FromRadio.node_infos, and config_complete
the integer you write into this field will be reported back in the
config_complete_id response this allows clients to never be confused by
a stale old partially sent config.
uint32 want_config_id = 3;
Link copied to clipboard
.meshtastic.XModem xmodemPacket = 5;
Link copied to clipboard
.meshtastic.XModem xmodemPacket = 5;
Link copied to clipboard
.meshtastic.XModem xmodemPacket = 5;
Link copied to clipboard

Tell API server we are disconnecting now.
This is useful for serial links where there is no hardware/protocol based notification that the client has dropped the link.
(Sending this message is optional for clients)
bool disconnect = 4;
Link copied to clipboard
open fun hasHeartbeat(): Boolean

Heartbeat message (used to keep the device connection awake on serial)
.meshtastic.Heartbeat heartbeat = 7;
Link copied to clipboard

MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
.meshtastic.MqttClientProxyMessage mqttClientProxyMessage = 6;
Link copied to clipboard
open fun hasPacket(): Boolean

Send this packet on the mesh
.meshtastic.MeshPacket packet = 1;
Link copied to clipboard

Phone wants radio to send full node db to the phone, This is
typically the first packet sent to the radio when the phone gets a
bluetooth connection. The radio will respond by sending back a
MyNodeInfo, a owner, a radio config and a series of
FromRadio.node_infos, and config_complete
the integer you write into this field will be reported back in the
config_complete_id response this allows clients to never be confused by
a stale old partially sent config.
uint32 want_config_id = 3;
Link copied to clipboard
.meshtastic.XModem xmodemPacket = 5;
Link copied to clipboard
Link copied to clipboard
open fun mergeFrom(other: Message): MeshProtos.ToRadio.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.ToRadio.Builder
Link copied to clipboard

Heartbeat message (used to keep the device connection awake on serial)
.meshtastic.Heartbeat heartbeat = 7;
Link copied to clipboard

MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
.meshtastic.MqttClientProxyMessage mqttClientProxyMessage = 6;
Link copied to clipboard

Send this packet on the mesh
.meshtastic.MeshPacket packet = 1;
Link copied to clipboard
.meshtastic.XModem xmodemPacket = 5;
Link copied to clipboard

Tell API server we are disconnecting now.
This is useful for serial links where there is no hardware/protocol based notification that the client has dropped the link.
(Sending this message is optional for clients)
bool disconnect = 4;
Link copied to clipboard

Heartbeat message (used to keep the device connection awake on serial)
.meshtastic.Heartbeat heartbeat = 7;
Link copied to clipboard

MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
.meshtastic.MqttClientProxyMessage mqttClientProxyMessage = 6;
Link copied to clipboard

Send this packet on the mesh
.meshtastic.MeshPacket packet = 1;
Link copied to clipboard

Phone wants radio to send full node db to the phone, This is
typically the first packet sent to the radio when the phone gets a
bluetooth connection. The radio will respond by sending back a
MyNodeInfo, a owner, a radio config and a series of
FromRadio.node_infos, and config_complete
the integer you write into this field will be reported back in the
config_complete_id response this allows clients to never be confused by
a stale old partially sent config.
uint32 want_config_id = 3;
Link copied to clipboard
.meshtastic.XModem xmodemPacket = 5;